package com.web.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.web.model.ResponseData;


/**
 * 专门处理错误请求的控制器
 * @author Evi
 *
 */
@RestController
@RequestMapping("/error")
public class ErrorController {
	
	@RequestMapping("/notauth")
	public ResponseData notauth() {
		ResponseData responseData = new ResponseData();
		responseData.notAuth();
		return responseData;
		
	}

}
